"""
flag = 1
while (flag) :
    print("长鹏好帅")
"""

sites = ["Baidu", "Google", "Runoob", "Taobao"]

for stit in sites:
    if stit == "Runoob":
        print("菜鸟教程")
        break
    print("循环数据 " + stit)
else:
    print("没有循环数据")
print("完成循环")

for i in range(15):
    print(i)

for i in range(0, 10, 3):
    print(i)

a = ['Google', 'Baidu', 'Runoob', 'Taobao', 'QQ']
for i in range(len(a)):
    print(i, a[i])

for letter in "Runoob":
    if letter == "b":
        break
    print("当前字母为 ：", letter)

var = 10
while var > 0:
    print("当前变量为：", var)
    var -= 1
    if var == 5:
        break
print("Good bye")

for x in range(2, 10):
    for y in range(2, x):
        if x % y == 0:
            print(x, "等于", y, "*", y // x)
else:
    print("没有可循环元素")
    print("是质数: ", x)

for x in range(1,20):
    if x % 7 == 0:
        print("过")
        continue
    else:
        a = str(x)
        if "7" in a:
            print("过")
            continue
    print(x)


parme1 = {"apple", "orange", "apple", "pear", "banana", "[1, 2, 3]"}


parme5 = parme1.copy()


print(parme5)
